package com.sz.demo.constant;

import java.math.BigDecimal;

/**
 * @author Lenovo
 */

public enum DiscountEnum {
    EIGHTY_PERCENT(new BigDecimal(0.8)),
    ;
    private final BigDecimal discount;

    DiscountEnum(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }
}
